package org.flashbrighton.as3bots.components
{
	public class CoreComponents
	{
		public static const ENGINE:String = "engine";
		public static const STEERING:String = "steering";
		public static const HEALTH:String = "health";
		public static const CHASSIS:String = "chassis";
		
		public static var componentList:Array = [ENGINE, STEERING, HEALTH, CHASSIS];
		
		
		public function CoreComponents()
		{
		}
		
		
		public static function validate(name:String):Boolean
		{
			return componentList.indexOf(name) > -1;
		}

	}
}